package team.knowers.qzh.qzhserver.common.web;

import java.util.Random;

public class FourteenDigitRandomGenerator {

    public static void main(String[] args) {
        long randomNum = generateFourteenDigitRandom();
        System.out.println("Random Number: " + randomNum);
    }

    public static long generateFourteenDigitRandom() {
        Random random = new Random();
        // 生成一个十四位的随机整数
        long randomNumber = (long) (random.nextDouble() * 90000000000000L) + 10000000000000L;
        return randomNumber;
    }
}
